<!-- 我的弹窗 -->

<template>
  <DetailMonitor
    v-if="easyVisible"
    v-model="easyVisible"
    :id="map_one.detailId"
    :type="map_one.deviceTypeId"
    @change="toChange"
  />
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import mixDetailToModal from '@admin/components/detail/mixDetailToModal'
import MyModal from '@admin/views/Secure/Access/AccessList/MyModal'

// ============================== 导出组件 ============================== //

export default CORE.extend(MyModal, {
  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixDetailToModal('map'), CORE.mixWeb()],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('@admin/views/Monitor/detail', true, /vue$/)),
})
</script>
